package stdying.handyweibo.injection;

import android.app.Activity;

import dagger.Module;
import dagger.Provides;
import stdying.handyweibo.ui.BaseActivity;

/**
 * Description: BaseActivtiyMoudle
 * Author: liulili
 * Created: 2015-11-23
 */

@Module
public class BaseActivtiyMoudle {
    protected BaseActivity activity;

    public BaseActivtiyMoudle(BaseActivity activity){
        this.activity = activity;
    }

    @Provides
    @PreActivity
    Activity provideActivity(){
        return this.activity;
    }
}
